function Y = forward(X, syns)
    assert(size(X,2) == size(syns{1},1));
    for i = 1:length(syns)
        X = sigmoid(X * syns{i});
    end
    Y = X;
end
